package EffectiveJava.chapter5;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class Chooser<T> {
    private final List<T> choiceList;

//    @SuppressWarnings("unchecked")
    public Chooser(Collection<T> choices){
        choiceList = new ArrayList<>(choices);
    }
}
